
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- Document Title -->
	<title>{$seo.title}</title>
	<meta name="keywords" content="{$seo.keywords}" />
	<meta name="description" content="{$seo.description}" />
       <!-- Favicon -->
    <link rel="shortcut icon" href="{$lang.icon}" />
    <link href="{YUNYECMS_PUBLIC}plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" />
    <!-- CSS Files -->
    <link rel="stylesheet" href="{TPL}static/css/font-awesome.min.css">
    <!--==== Bootstrap css file ====-->
    <link rel="stylesheet" href="{TPL}static/css/bootstrap.min.css">
    <!--==== Shop Style css file ====-->
    <link rel="stylesheet" href="{TPL}static/css/shop-style.css">
    <!--==== Style css file ====-->
    <link rel="stylesheet" href="{TPL}static/css/style.css?{php echo time();}">
    <!--==== Responsive css file ====-->
    <link rel="stylesheet" href="{TPL}static/css/responsive.css?201901">
    <!--==== Theme Color 1 css file ====-->
    <link rel="stylesheet" href="{TPL}static/css/theme-color-1.css">
    <!--==== Custom css file ====-->
    <link rel="stylesheet" href="{TPL}static/css/custom.css">
    <link rel="stylesheet" href="{TPL}static/css/member.css">
</head>
<body>
    
    <!-- Main header -->
    <!-- End of Main header -->
     {tpl "head",'content'}
    <!-- Page title -->
    {yy:find catid="42"}
    <section class="page-title-wrap" data-bg-img="{$data.pic}" data-rjs="2">
        <div class="container">
            <div class="row align-items-center">
                <div class="col">
                    <div class="page-title" data-animate="fadeInUp" data-delay="1.05">
                        <h1>在线支付</h1>
                    </div>
                </div>
            </div>
        </div>
    </section>
   {/yy}
     <!-- End of Page title -->
<div class="breadcumb-wrapper">
    <div class="container">
        <div class="pull-left">
            <ul class="list-inline link-list">
                <li><a href="{ROOT}index.php?lang={$lang.id}">Home</a></li>
				</li>
				 {loop name="breadcumb"}
				       {if $i+1!=count($breadcumb)}
					   <li><a href="{$v.url}">{$v.title}</a></li> 
					   {else}
					   <li><span>{$v.title}</span></li> 
					   {/if}
				 {/loop}
            </ul>
        </div>
        <div class="pull-right">
        </div>
        <div class="clearfix"></div>
    </div>
</div>   

<section class="pt-30 default-bg">
            <div class="container">
                <div class="row">
                    
                <div class="col-md-12">
                    <!-- shop your order table -->
                    <div class="shop--your-order" data-animate="fadeInUp" data-delay=".8">
                        <h4 class="font-weight-bold PT-sens text-center">Your order has been submitted and the order number is <span class="text-danger">{$orderitem.sn}</span>
</h4>
                        <table class="order-table table PT-sens">
                            <tbody>
                                <tr>
                                    <td>
                                       product
                                    </td>
                                    <td>
                                        Total
                                    </td>
                                </tr>
                                {loop name="orderitem['goods']"}
                                <tr>
                                    <td>
                                        <a href="{$v.url}" target="_blank"> {$v.title}   <span><svg 
                                             xmlns="http://www.w3.org/2000/svg"
                                             xmlns:xlink="http://www.w3.org/1999/xlink"
                                             width="8px" height="8px">
                                            <path fill-rule="evenodd"  fill="rgb(130, 135, 167)"
                                             d="M0.070,7.929 C0.118,7.976 0.179,8.000 0.241,8.000 C0.302,8.000 0.364,7.976 0.411,7.929 L3.992,4.341 L7.573,7.929 C7.620,7.976 7.682,8.000 7.743,8.000 C7.805,8.000 7.867,7.976 7.914,7.929 C8.008,7.835 8.008,7.682 7.914,7.588 L4.333,4.000 L7.914,0.412 C8.008,0.318 8.008,0.165 7.914,0.070 C7.820,-0.024 7.667,-0.024 7.573,0.070 L3.992,3.658 L0.411,0.071 C0.317,-0.024 0.165,-0.024 0.070,0.071 C-0.024,0.165 -0.024,0.318 0.070,0.412 L3.651,4.000 L0.070,7.588 C-0.024,7.682 -0.024,7.835 0.070,7.929 Z"/>
                                            </svg></span>    {$v.num} </a>
                                    </td>
                                    <td>
                                        ￥{php echo $v["price"]*$v["num"]}<br>
                                    </td>
                                </tr>
                                {/loop}
                                <tr>
                                    <td>
                                       Total :
                                    </td>
                                    <td class="text-danger" style="font-size: 20px;">
                                        ￥{$orderitem.money}
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                        <div class="shop-payment-method pb-30 text-center">
								Address：{$orderitem.address} &nbsp;&nbsp; Name： {$orderitem.name} &nbsp;&nbsp; Mobile: {$orderitem.mobile}
                        </div>
                        
     <div class="well well-lg">		    
    <form action="{php echo url('shop/alipay/doalipay')}"  method="post" target="_blank">
    <div class="containter text-center">
                <input type="hidden" name="WIDout_trade_no" id="out_trade_no" value="{$orderitem.sn}">
                <input type="hidden" name="WIDsubject" value="{$lang.sitename} order -{$orderitem.sn}">
                <input type="hidden" name="WIDtotal_fee" value="{$orderitem.money}">
                <input type="hidden" name="WIDbody" value='{$lang.sitename} order -{$orderitem.sn}-{$orderitem.name}-{$orderitem.mobile}-{$orderitem.address}'>
                 <button type="submit" name="button" value="Send" class="btn btn-primary btn-flat"><i class="  icon-paper-plane"></i> Alipay payment  </button>
</div>         
	</form>
</div> 
                        
                        
                        
                        
                    </div>
                    <!--ENd of shop your order table -->
                </div>
            </div>
        </div>
    </section>

    <!-- End of Subscription -->  
   {tpl 'foot','content'}

    <!-- JS Files -->
    <!-- ==== JQuery 3.3.1 js file==== -->
    <script src="{TPL}static/js/jquery-3.3.1.min.js"></script>
        <!-- ==== Bootstrap js file==== -->
    <script src="{TPL}static/js/bootstrap.bundle.min.js"></script>
    <!-- ==== JQuery Waypoint js file==== -->
    <script src="{TPL}static/js/jquery.waypoints.min.js"></script>
    <!-- ==== Sticky js file==== -->
    <script src="{TPL}static/js/sticky.min.js"></script>
    <!-- ==== Menu  js file==== -->
    <script src="{TPL}static/js/menu.min.js"></script>
    <!-- ==== Scrippt js file==== -->
    <script src="{TPL}static/js/scripts.js?20190123"></script>
    <!-- ==== Custom js file==== -->
    <script src="{TPL}static/js/custom.js"></script>

</body>
</html>